package cn.zhaoyuening.chat_common.msg;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Buynow on 2017/6/14.
 * 发送的消息
 */
public class ChatMsg extends BaseMsg implements Serializable{

    private String username;
    private Date date;
    private String content;

    public ChatMsg() {
        setType(MsgType.CHAT);
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
